package cn.ssm.petadopt.util;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @Autheor: Sun俊仪
 * @Date: 2022 2022/12/17 18:26
 * @Name: PetSystem
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@JsonInclude(JsonInclude.Include.NON_NULL)   // 在值为null时，不进行参数的传递
public class ResponseResult {

    private Integer code;       // 状态码
    private String msg;         // 状态信息
    private Object data;        // 携带反馈给前端的参数
    private Long count;         // 数据的总条数
}
